package com.health.test;

import redis.clients.jedis.Jedis;

public class test2 {
    public static void main(String[] args) {
        //连接本地的 Redis 服务
        Jedis jedis = new Jedis("localhost");

        jedis.set("app" , "hhh");
        System.out.println("新建的值app:  " + jedis.get("app"));
    }
}
